import type { PropType } from "vue";

export type ClassType = string | string[];

export type BaseType = string | number | boolean | object | symbol | undefined;

export const valuePropType = [String, Number, Object, Boolean, Array] as PropType<BaseType>;

export const classPropType = [String, Array] as PropType<string | string[]>;

export const labelPropType = [String, Function] as PropType<string | ((val: BaseType) => string) | null>;
